<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<%@taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt" %>
<%@page language="java" pageEncoding="utf-8" import="java.util.*" 
contentType="text/html;charset=utf-8"%>
<html>
	<head>
		<title>regist</title>
	<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
		<link rel="stylesheet" type="text/css" href='<s:url value="/css/style.css"/>' />	
	
			<%
			Date d=new Date();
			pageContext.setAttribute("d", d);
			%>
	</head>
	<body>
		<div id="wrap">
			<div id="top_content">
					<div id="header">
						<div id="rightheader">
							<p>
							<!-- 	2009/11/20 -->
								<fmt:formatDate value="${pageScope.d }" 
								pattern="yyyy-MM-dd HH:mm:ss"/>
								<br />
							</p>
						</div>
						<div id="topheader">
							<h1 id="title">
								<a href="#">main</a>
							</h1>
						</div>
						<div id="navigation">
						</div>
					</div>
				<div id="content">
					<p id="whereami">
					</p>
					<h1>
						注册
					</h1>
					<form action="<s:url namespace="/" action="user_regist"/>" method="post">
					
						<table cellpadding="0" cellspacing="0" border="0"
							class="form_table">
							<tr>
								<td valign="middle" align="right">
									用户名:
								</td>
								<td valign="middle" align="left">
									<input type="text" class="inputgri" name="users.username" />
								</td>
							</tr>
							<tr>
								<td valign="middle" align="right">
									真实姓名:
								</td>
								<td valign="middle" align="left">
									<input type="text" class="inputgri" name="users.realname" />
								</td>
							</tr>
							<tr>
								<td valign="middle" align="right">
									密码:
								</td>
								<td valign="middle" align="left">
									<input type="password" class="inputgri" name="users.password" />
								</td>
							</tr>
							<tr>
								<td valign="middle" align="right">
									性别:
								</td>
								<td valign="middle" align="left">
									男
									<input type="radio" class="inputgri" name="users.sex" value="男" checked="checked"/>
									女
									<input type="radio" class="inputgri" name="users.sex" value="女"/>
								</td>
							</tr>
							
							<tr>
								<td valign="middle" align="right">
									验证码:
									<!-- <img id="num" src="image" /> -->
									<!-- <a href="javascript:;" onclick="document.getElementById('num').src = 'image?'+(new Date()).getTime()">换一张</a> -->
								</td>
								<td valign="middle" align="left">
									<input type="text" class="inputgri" name="code" />
									<img src="<s:url value="/image.abc" />" style="width:88px;height:20px" />
								</td>
							</tr>
							
							<%-- <tr>
								<td valign="middle" align="right">
									验证码:
								</td>
								<td valign="middle" align="left">
									<input type="text" class="inputgri" style="width:90px" name="code" />
									<img src="${pageContext.request.contextPath }/image.abc" style="width:88px;height:20px" />
								</td>
							</tr> --%>
							
							
						</table>
						<p>
							<input type="submit" class="button" value="Submit &raquo;" />
						</p>
					</form>
				</div>
			</div>
			<div id="footer">
				<div id="footer_bg">
				ABC@126.com
				</div>
			</div>
		</div>
	</body>
</html>
